package com.tiger.weixin.dto;

import lombok.Data;

import java.util.HashMap;

/**
 * @Author: spzhang
 * @Date: Created in 16:54 2023/2/20
 * @Description:
 * @Version:
 */
@Data
public class WxMsgTask {
    private String touser;
    private String template_id;
    private String topcolor;
    private HashMap<String, Data> data;
    private String url;

    public WxMsgTask(String tempId) {
        this.template_id = tempId;
    }

    @lombok.Data
    public static class Data{
        private String value;
        private String color;

        public Data(String value) {
            this.value = value;
        }
    }
}
